package cn.ccccltd.waf.id_generator.constants;

public class Constants {

	/**判断服务是否启动*/
	public static final String SERVER_STARTED = "/server";
	
	/** 人为打印log日志前缀 */
	public static final String LOG_DEBUG_PREFIX = "======";
	
	/**成功*/
	public static final String TRUE = "true";
	/**失败*/
	public static final String FALSE = "false";
	
	/**用户的session的key*/
	public static final String SESSION = "SESSION_KEY";
	
	/**初始化无需过滤的查询*/
	public static boolean INIT_DATA = true;
	
	
	// 关系符 ==============================================================
    /** 关系符: 等于*/
    public static final String RELATION_EQ    = "eq";
    /** 关系符: 大于*/
    public static final String RELATION_GT    = "gt";
    /** 关系符: 大于等于*/
    public static final String RELATION_GE    = "ge";
    /** 关系符: 小于*/
    public static final String RELATION_LT    = "lt";
    /** 关系符: 小于等于*/
    public static final String RELATION_LE    = "le";
    /** 关系符: 包含*/
    public static final String RELATION_LIKE  = "like";
    /** 关系符: 左包含*/
    public static final String RELATION_LLIKE = "llike";
    /** 关系符: 右包含*/
    public static final String RELATION_RLIKE = "rlike";
    
    /** 查询连接符*/
    public static final String LOGIC_AND      = "and";
    public static final String LOGIC_OR       = "or";
    
    /** 排序方式*/
    public static final String ORDER_ASC      = "ASC";
    public static final String ORDER_DESC       = "DESC";
    
    
}
